package com.douyang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.douyang.VO.MessageVO;
import com.douyang.VO.UserInfoVO;
import com.douyang.dto.LoginDTO;
import com.douyang.base.model.UserBaseInfo;
import com.douyang.dto.SendMessageDTO;
import jakarta.servlet.http.HttpServletRequest;
import reactor.core.publisher.Flux;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoma
 * @since 2025-03-01
 */
public interface UserBaseInfoService  extends IService<UserBaseInfo> {

    UserBaseInfo doLogin(LoginDTO loginDTO);

    UserInfoVO getUserInfo(Long userId);

    List<MessageVO> getMessageList();

    MessageVO sendMessage(SendMessageDTO sendMessageDTO);

    Flux<String> getAIAnswerByStream(String model);

    void clearChat();

    void getCode(HttpServletRequest request,String email);
}
